package com.itheima.service;

import com.itheima.pojo.Brand;
import com.itheima.pojo.pageBean;

import java.util.List;

public interface BrandService {

    List<Brand> selectAll();


    void add(Brand brand);

    void deleteByIds(int[] ids);

    /**
     * 分页查询
     * @param currentPage //当前页面
     * @param pagesize //每页展示条数
     * @return
     */
    pageBean<Brand> selectByPage(int currentPage,int pagesize);

    pageBean<Brand> selectByPageAndCondition(int currentPage,int pagesize,Brand brand);

}



